package com.xf.enums;

/**
 * @author
 * @description
 * @date 2021-01-26
 **/
public enum QueryRoleStrategyEnum {
    ONLY_ROLE(0, "只查询角色"),
    ROLE_AND_RESOURCE(1, "角色和对应的资源信息"),
    ROLE_AND_MENU(2, "角色和对应的菜单"),
    ROLE_AND_MENU_RESOURCE(3, "角色和对应的菜单/资源"),
    ;

    private Integer type;

    private String desc;

    QueryRoleStrategyEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
